<!DOCTYPE html>
<html lang="en">

<head>
	<{include file="header.html" }>
		<title>老师管理-网校管理-
			<{$user_data[ 'school_name']}>-德安信会计在线教育平台</title>
</head>

<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="left_menu.html" }>
		</div>
		<div id="ContMianBox">
			<!--star子栏目-->
            <div class="sub-colum">
			    <div class="tit"><{$left_menu_min.menu}></div>
			    <ul>
			        <{foreach from=$left_menu_min.list item=item}>
			        <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
			        <{/foreach}>
			    </ul>
			</div>
            <!--end子栏目-->
			<!--end left-->
			<div class="container narrow">
				<!--star conter-->
				<div class="cetContent">
					<div class="tit p-lr20">
						<span>老师管理</span>

					</div>
					<!--star内容区域-->
					<div class="mainScroll">
						<div class="mainContainer line-all">
							<!--star tabMainCont-->
							<div class="tabMainCont">
								<fieldset class="layui-elem-field">
									<legend>筛选</legend>
									<div class="layui-field-box">
										<form class="layui-form layui-form-pane1" action="/teacher">
											<div class="layui-form-item">

												<div class="layui-inline">
													<label class="layui-form-label">老师姓名</label>
													<div class="layui-input-inline">
														<input type="password" name="" placeholder="老师姓名" autocomplete="off" class="layui-input">
													</div>
												</div>
												<div class="layui-inline">
													<button type="submit" class="layui-btn">搜索</button>
													<a class="layui-btn" href="/teacher/teacher_add"><i class="layui-icon"></i> 添加老师</a>
												</div>
											</div>

										</form>
									</div>
								</fieldset>

								<!--商品列表 star-->
								<div class="goods_list p-t10">
									<div class="mtc_tab">
										<!--star mt-->
										<div class="mt">
											<span class="l fs16">状态：</span>
											<a href="javascript:;" class="curr">全部</a>
											<a href="javascript:;">全职</a>
											<a href="javascript:;">兼职</a>
											<a href="javascript:;">离职</a>

										</div>
										<!--end mt-->
										<!--star mc-->
										<div class="mc">

											<div class="u_table_list m-t20">
												<!--star 商品-->
												<div class="table002">
													<table>
														<colgroup>
															
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
														</colgroup>
														<tbody>
															<tr>
																<th>姓名</th>
																<th>手机号</th>
																<th>性别</th>
																<th>擅长</th>
																<th>允许直播</th>
																<th>学校评分</th>
																<th>学生评分</th>
																<th>操作</th>
															</tr>
														</tbody>
														<tbody>
															<{foreach from=$teachers item=item}>
																<tr>
																	
																	<td class="not_lb tal">
																		<{$item[ 'teacher_name']}>
																	</td>
																	<td class="not_lb tal"><span class="c-ff6d5e"><{$item['mobile']}></span></td>
																	<td class="not_lb tal">
																		<{if $item[ 'sex']==1}>
																			男
																			<{elseif $item[ 'sex']==2}>
																				女
																				<{else}>
																					未知
																					<{/if}>
																	</td>
																	<td class="not_lb tal"><{$item['speciality']}></td>
																	<td class="not_lb tal">
																	
																		<{if $item[ 'allow_live']==1}>
																			允许<!-- （直播流ID：<{$item['stream_id']}>） -->
																		
																				<{else}>
																					不允许
																					<{/if}>
																				
																	</td>
																	<td class="not_lb tal">
																		<div class="colorBtn">

																			<p><span><{$item['school_score']}></span></p>
																			<p><a href="/teacher/change_score/<{$item['id']}>">调整评分</a></p>
																		</div>
																	</td>
																	<td class="not_lb tal">
																		<p><span><{$item['comment_score']}></span></p>
																	</td>
																	<td class="not_lb tal">
																		<div class="colorBtn">
																			<p>
																			<a href="/teacher/edit/<{$item['id']}>">编辑</a>
																			&nbsp;&nbsp;&nbsp;
																			<a onclick="return confirm('确定要《<{$item[ 'teacher_name']}>》删除老师吗？');" href="/teacher/del/<{$item['id']}>">删除</a>
																			</p>
																			
																			<{if $is_manage == 1}>
																			<p><a href="/teacher/change_pwd/<{$item['id']}>">重置登陆密码</a></p>
																				<!-- <p><a href="/role/edit/<{$item['id']}>">分配权限</a></p> -->
																				<{/if}>
																		</div>
																	</td>
																</tr>
																<{/foreach}>
														</tbody>
													</table>
												</div>
												<!--end 商品-->
											</div>
											<div class="pages p-tb20 hide" style="text-align:right;">
												<div class="l">
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
												</div>
												<ul>
													<li><a>上一页</a></li>
													<li><a>1</a></li>
													<li class="active"><a>2</a></li>
													<li><a>3</a></li>
													<li><a>4</a></li>
													<li>...</li>
													<li><a>100</a></li>
													<li><a>下一页</a></li>
												</ul>
												<form>
													共100页到第
													<input type="text" value="1" class="inputwh"> 页
												</form>
											</div>
										</div>
										<!--end mc-->
									</div>

								</div>
								<!--商品列表 end -->
							</div>
							<!--end tabMainCont-->
						</div>

					</div>
				</div>
				<!--end内容区域-->
				<!--end conter-->
			</div>
		</div>
	</div>
	<{include file="footer.html"}>
	<script>
		$(function() {
			$.fn.Dashentab(".cetContent .tit", "span", ".tabMainCont", ".tabItem", "curr", "click", 0);
			$(".sub-colum").find('li').on('click', function() { //子栏目点击选中状态；
				$(this).addClass('curr').siblings().removeClass('curr');
			})
		});
	</script>
</body>

</html>
